domain: remove 'guest_type' field (and enum guest_type)
authorPaul Durrant <paul.durrant@citrix.com>
Wed, 31 Jul 2019 11:29:31 +0000 (13:29 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 31 Jul 2019 11:29:31 +0000 (13:29 +0200)
commitdd48840683a3222e0f2aeade6d36da477b949909
tree685fea47644fb762f3f040c51a1356117aadde28
parentb28ae8b23cbc40202e6de3017f11bdacac9d9590
domain: remove 'guest_type' field (and enum guest_type)

The enum guest_type was introduced in commit 6c6492780ea "pvh prep:
introduce pv guest type and has_hvm_container macros" to allow a new guest
type, distinct from either PV or HVM guest types, to be added in commit
8271d6522c6 "pvh: introduce PVH guest type". Subsequently, commit
33e5c32559e "x86: remove PVHv1 code" removed this third guest type.

This patch removes the struct domain field and enumeration as the guest
type can now be trivially determined from the 'options' field.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: "Roger Pau Monné" <roger.pau@citrix.com>
Acked-by: George Dunlap <George.Dunlap@eu.citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/common/domain.c
xen/common/domctl.c
xen/common/kernel.c
xen/include/xen/sched.h